package com.onesports.intelligent.k12.polarlight.domain.dto.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 拼班明细表
 *
 * @author clw
 * @date 2022-07-13 17:59:14
 */
@Data
@ApiModel(value = "拼班明细表")
public class SpellingClassDetailsDTO  {
    private static final long serialVersionUID = 1L;

    //@ApiModelProperty(value = "机构ID", required = true)
    //@NotBlank(message = "机构ID不能为空")
    //private String organizationId;

    @ApiModelProperty(value = "校区Id", required = true)
    @NotBlank(message = "校区Id不能为空")
    private String campusId;

    @ApiModelProperty(value = "商品Id", required = true)
    @NotBlank(message = "商品Id不能为空")
    private String productId;

    @ApiModelProperty(value = "课程Id", required = true)
    @NotBlank(message = "课程Id不能为空")
    private String courseId;

    //@ApiModelProperty(value = "课表节次总数", required = true)
    //@NotNull(message = "课表节次总数不能为空")
    //private Integer totalNum;

    @ApiModelProperty(value = "商品拼班类型表Id", required = true)
    @NotBlank(message = "商品拼班类型表Id不能为空")
    private String productSellPriceRelId;

    @ApiModelProperty(value = "单价", required = true)
    @NotNull(message = "单价不能为空")
    private BigDecimal price;

    @ApiModelProperty(value = "拼班方式", required = true)
    @NotBlank(message = "拼班方式不能为空")
    private String spellType;

    // @ApiModelProperty(value = "节次总数", required = true)
    // @NotNull(message = "节次总数不能为空")
    // private Integer num;

    @ApiModelProperty(value = "排课表主键Id", required = true)
    @NotBlank(message = "排课表主键Id不能为空")
    private String scheduleId;

    @ApiModelProperty(value = "课表名称", required = true)
    @NotBlank(message = "课表名称不能为空")
    private String scheduleName;

    @ApiModelProperty(value = "上课开始日期(周期)", required = true)
    @NotBlank(message = "上课开始日期不能为空")
    private String startDate;

    @ApiModelProperty(value = "上课结束日期(周期)", required = true)
    @NotBlank(message = "上课结束日期不能为空")
    private String endDate;

    @ApiModelProperty(value = "上课开始时段", required = true)
    @NotBlank(message = "上课开始时段不能为空")
    private String startPeriod;

    @ApiModelProperty(value = "上课结束时段", required = true)
    @NotBlank(message = "上课结束时段不能为空")
    private String endPeriod;

    //@ApiModelProperty(value = "班级Id")
    //@NotNull(message = "班级Id不能为空")
    //private String classInfoId;

	//@ApiModelProperty(value = "课表时段明细表Id")
	//private String courseScheduleDetailId;

    // @ApiModelProperty(value = "课表时段明细表Id", required = true)
    // @NotBlank(message = "课表时段明细Id不能为空")
    // private String id;
	

}
